package com.homelink.crashhandle.util;

/**
 * Created by Fcy on 2015/12/31.
 */
public class ConstantsUtils
{
	/**
	 * log日志所在根目录
	 */
	// public static final String LOG_DIR_NAME = "homelink_logs";
	/**
	 * log存放目录 sd/homelink_logs/log_files
	 */
	public static final String LOG_FILES_DIR_NAME = "log_files";

	/**
	 * log及push存放的根目录
	 */
	public static final String LOG_DIR_ROOT_NAME = "homelink_logs";
	/**
	 * log push目录， sd/homelink_logs/log_push
	 */
	public static final String LOG_PUSH_DIR_NAME = "log_push";

	/**
	 * 打所有包时的命名
	 */
	public static final String HOMELINK_PACKAGENAME = "com.homelink.app"; // package

	/**
	 * 是否是crash的标识
	 */
	public static final String IS_CRASH = "is_crash";

	// public static final String UPLOAD_FILE_URL =
	// "http://172.30.11.236:39999/mobile-api/audio/uploadFileLog";
	public static final String UPLOAD_FILE_URL = "http://172.30.11.236:39999/homelink/audio/uploadFileLog";
//	public static final String UPLOAD_FILE_URL = "http://172.30.14.208:39999/audio/uploadFileLog";

	/**
	 * 上传广播
	 */
	public static final String BROAD_CAST_ACTION_PUSH = "com.homelink.crashhandle.action.push";

	public static final int ANDROID = 0;

	public static final String FILE_TYPE = ".zip";

	public interface LogType
	{
		int is_crash = 0;
		int no_crash = 1;
	}

    /**
     * SharedPreferences
     */
	public static final String HOMELINK_LOG = "homelink_log_config";
	public static final String UC_ID = "uc_id";
}
